$OpenBSD: patch-resolv_c,v 1.1 2015/01/16 22:09:30 naddy Exp $
--- resolv.c.orig	Tue Dec 11 17:37:05 2012
+++ resolv.c	Fri Jan 16 23:04:39 2015
@@ -15,6 +15,7 @@
  */
 
 #include <sys/types.h>
+#include <limits.h>
 #include <unistd.h>
 
 #if defined(__linux__)
